This reverts part of the previous changeset, which prevented
console=tty0 from doing the obvious thing in a domU guest
(i.e., send output on the virtual console). This is because
the tty index ends up being 1.
I don't think setting the index to other than -1 really
buys us anything anyway. Any other driver that specifies
a name that conflicts with us will almost certainly set their
index to -1, so we cannot avoid conflicts by choosing a
more restrictive (singleton) value.
Signed-off-by: Keir Fraser <keir@xensource.com>
return __RETCODE;
}
- /* We only bind to one device index (-1 means all indexes). */
- kcons_info.index = xc_num;
-
wbuf = alloc_bootmem(wbuf_size);
register_console(&kcons_info);